withRight

fun withRight(newRight: Y): ValidatedPair.Tuple<X, Y>

Constructs a new Tuple with an updated right side only, using the existing left side

Return

new Tuple instance with existing right element and new right element

Author

fzzyhmstrs

Since

0.6.0

Parameters

newRight

Y the new right element